import mixin from './mixin';

const create = (application, ...mixins) => {
    application.el = '#app';
    application.mixins = application.mixins || [];
    application.mixins.push(mixin);
    application.mixins.push(...mixins);
    return new Vue(application);
};

export { mixin, create }